﻿namespace = dvg_zhourao

# The League of Yaluo
dvg_zhourao.1 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.1.t
	desc = dvg_zhourao.1.d
	flavor = dvg_zhourao.1.f

	event_image = {
		video = "gfx/event_pictures/asia_westerners_arriving.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
		set_variable = {
			name = dvg_yaluo_reform_variable_var_2
			value = 6
		}
		set_variable = {
			name = dvg_yaluo_reform_variable_var
			value = 0
		}
		add_journal_entry = {
			type = je_yaluo_reform
		}
		change_variable = {
			name = dvg_yaluo_reform_variable_var
			add = 6
		}
	}
	
	# I see
	option = {
		name = dvg_zhourao.1.a
		default_option = yes
		trigger_event = { id = dvg_zhourao.2 days = 1825 }
		ai_chance = {
			base = 1
		}
	}
}

# The Zhongting
dvg_zhourao.2 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.2.t
	desc = dvg_zhourao.2.d
	flavor = dvg_zhourao.2.f

	event_image = {
		video = "gfx/event_pictures/asia_politician_parliament_motion.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
#		c:KOO = {
#			save_scope_as = dvg_koori_scope
#		}
	}
	
	# Maintain status quo
	option = {
		name = dvg_zhourao.2.a
		default_option = yes
		custom_tooltip = {
			text = dvg_yaluo_lower_by_two_tt
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = -2
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = -2
			}
			trigger_event = { id = dvg_zhourao.3 days = 1460 }
		}
		add_radicals = {
			value = 0.1
			culture = cu:aborigine
		}
		ai_chance = {
			base = 1
		}
	}
	# Give membership to those who fought alongside us
	option = {
		name = dvg_zhourao.2.b
		custom_tooltip = {
			text = dvg_yaluo_raise_by_one_tt_wealth
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = 1
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = 1
			}
			ig:ig_landowners = {
				add_modifier = {
					name = dvg_approval_buff
					days = 730
					is_decaying	= yes
				}
			}
			call_election = {
				months = 1
			}
			if = {
				limit = {
					NOT = { has_law = law_type:law_wealth_voting }
				}
				activate_law = law_type:law_wealth_voting
			}
			trigger_event = { id = dvg_zhourao.3 days = 1460 }
		}
		ai_chance = {
			base = 1
		}
	}
	# Open up the membership lists
	option = {
		name = dvg_zhourao.2.l
		custom_tooltip = {
			text = dvg_yaluo_raise_by_two_tt_census
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = 2
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = 2
			}
			ig:ig_landowners = {
				add_modifier = {
					name = dvg_approval_buff
					days = 730
					is_decaying	= yes
				}
			}
			call_election = {
				months = 1
			}
			if = {
				limit = {
					NOT = { has_law = law_type:law_census_voting }
				}
				activate_law = law_type:law_census_voting
			}
			trigger_event = { id = dvg_zhourao.3 days = 1460 }
			set_variable = dvg_yaluo_open_lists
		}
		ai_chance = {
			base = 1
		}
	}
}

# Koori Tribute
dvg_zhourao.3 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.3.t
	desc = dvg_zhourao.3.d
	flavor = dvg_zhourao.3.f

	event_image = {
		video = "gfx/event_pictures/asia_poor_people_moving.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# Renege on Promises
	option = {
		name = dvg_zhourao.3.a
		add_radicals = {
			value = 0.65
			culture = cu:aborigine
		}
		custom_tooltip = {
			text = dvg_yaluo_lower_by_two_tt
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = -2
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = -2
			}
		}
		custom_tooltip = {
			text = dvg_yaluo_this_will_war_with_guli_tt
			create_diplomatic_play = {
				target_country = c:KOO
				war = yes
				type = dp_annex_war
			}
		}
#		add_journal_entry = { future content
#			type = je_frontier_wars
#		}
		ai_chance = {
			base = 0.2
		}
	}
	# Pay part of tribute from the central treasury
	option = {
		name = dvg_zhourao.3.b
		default_option = yes
		custom_tooltip = {
			text = dvg_lose_200000_tt
			add_treasury = -200000
		}
		add_loyalists = {
			value = 0.1
			culture = cu:aborigine
		}
		custom_tooltip = {
			text = dvg_yaluo_raise_by_one_tt
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = 1
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = 1
			}
		}
		ai_chance = {
			base = 0.4
		}
	}
	# Force the northern hui to pay tribute
	option = {
		name = dvg_zhourao.3.l
		add_loyalists = {
			value = 0.2
			culture = cu:aborigine
		}
		add_radicals = {
			value = 0.1
			culture = cu:zhourao
		}
		custom_tooltip = {
			text = dvg_yaluo_raise_by_two_tt
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = 2
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = 2
			}
			set_variable = dvg_yaluo_tribute_force
		}
		ai_chance = {
			base = 0.4
		}
	}
}

# Scandinavian Proposals roughly 1854
dvg_zhourao.4 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.4.t
	desc = dvg_zhourao.4.d
	flavor = dvg_zhourao.4.f

	event_image = {
		video = "gfx/event_pictures/asia_westerners_arriving.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# Refuse European Intervention
	option = {
		name = dvg_zhourao.4.a
		custom_tooltip = {
			text = dvg_yaluo_lower_by_two_tt
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = -2
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = -2
			}
#			set_global_variable = dvg_yaluo_closed_to_scandinavia
		}
		c:SCA = {
			trigger_event = { id = dvg_oceania.43 days = 30 }
		}
		ai_chance = {
			base = 1
		}
	}
	# Allow them in our ports
	option = {
		name = dvg_zhourao.4.b
		default_option = yes
		custom_tooltip = {
			text = dvg_yaluo_raise_by_one_tt
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = 1
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = 1
			}
#			set_global_variable = dvg_yaluo_partially_open_to_scandinavia
		}
		add_modifier = {
			name = dvg_small_research_value
			days = 600
		}
		c:SCA = {
			trigger_event = { id = dvg_oceania.44 days = 30 }
		}
		ai_chance = {
			base = 1
		}
	}
	# Open to investment!
	option = {
		name = dvg_zhourao.4.c
		custom_tooltip = {
			text = dvg_yaluo_raise_by_two_tt
			change_variable = {
				name = dvg_yaluo_reform_variable_var
				add = 2
			}
			change_variable = {
				name = dvg_yaluo_reform_variable_var_2
				add = 2
			}
			set_global_variable = dvg_yaluo_open_to_scandinavia
		}
		add_modifier = {
			name = dvg_research_value
			days = 600
		}
		c:SCA = {
			trigger_event = { id = dvg_oceania.42 days = 30 }
		}
		ai_chance = {
			base = 1
		}
	}
}

# One Kongsi in Zhourao
dvg_zhourao.5 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.5.t
	desc = dvg_zhourao.5.d
	flavor = dvg_zhourao.5.f

	event_image = {
		video = "gfx/event_pictures/unspecific_military_parade.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
		exists = c:YLO
		exists = c:MJN
		OR = {
			root = c:YLO
			root = c:MJN
		}
		year >= 1854
		NOT = {
			has_journal_entry = je_one_kongsi
		}
	}
	
	immediate = {
		add_journal_entry = {
			type = je_one_kongsi
		}
	}
	
	# The truce is almost over, we can fight, so can they
	option = {
		name = dvg_zhourao.5.a
		custom_tooltip = {
			text = dvg_one_kongsi_tt
			set_variable = dvg_one_kongsi
		}
		ai_chance = {
			base = 1
		}
	}
}

# The Northern Hui Defect!
dvg_zhourao.6 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.6.t
	desc = dvg_zhourao.6.d
	flavor = dvg_zhourao.6.f

	event_image = {
		video = "gfx/event_pictures/unspecific_fire.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
		has_variable = dvg_yaluo_reform_variable_var_2
		this = { var:dvg_yaluo_reform_variable_var_2 >= 8 }
		has_variable = dvg_one_kongsi
		NOT = {
			has_variable = dvg_northern_hui
		}
	}
	
	immediate = {
		set_variable = dvg_northern_hui
		s:STATE_XINXIANG.region_state:YLO = {
			set_state_owner = c:MJN
		}
	}
	
	# Oh dear
	option = {
		name = dvg_zhourao.6.a
		custom_tooltip = {
			text = dvg_effects_of_reforms_tt
			set_variable = dvg_among_kongsus
			trigger_event = { id = dvg_zhourao.7 days = 90 }
			s:STATE_XINXIANG = {
				add_claim = c:YLO
			}
			change_relations = {
				country = c:MJN
				value = -50
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

# Militia Mobilize!
dvg_zhourao.7 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.7.t
	desc = dvg_zhourao.7.d
	flavor = dvg_zhourao.7.f

	event_image = {
		video = "gfx/event_pictures/unspecific_military_parade.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# For democracy!
	option = {
		name = dvg_zhourao.7.a
		add_modifier = {
			name = dvg_demoratic_miltias
			days = 1825
			is_decaying	= yes
		}
		ai_chance = {
			base = 1
		}
	}
}

# Good tidings.
dvg_zhourao.8 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.8.t
	desc = dvg_zhourao.8.d
	flavor = dvg_zhourao.8.f

	event_image = {
		video = "gfx/event_pictures/asia_politician_parliament_motion.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
		has_variable = dvg_yaluo_reform_variable_var_2
#		var:dvg_yaluo_reform_variable_var_2 < 8
#		this = { var:dvg_yaluo_reform_variable_var >= 1 }
		this = { var:dvg_yaluo_reform_variable_var_2 < 8 }
		has_variable = dvg_one_kongsi
	}
	
	immediate = {
	}
	
	# Fair enough
	option = {
		name = dvg_zhourao.8.a
		custom_tooltip = {
			text = dvg_effects_of_reforms_positive_tt
			set_variable = dvg_among_kongsus
		}
		ai_chance = {
			base = 1
		}
	}
}

 # Yaluo petitions for annexation!
dvg_zhourao.9 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.9.t
	desc = dvg_zhourao.9.d
	flavor = dvg_zhourao.9.f

	event_image = {
		video = "gfx/event_pictures/asia_politician_parliament_motion.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# War!
	option = {
		name = dvg_zhourao.9.a
		custom_tooltip = {
			text = dvg_guli_this_will_war_with_yaluo_tt
			create_diplomatic_play = {
				name = dvg_frontier_war_name
			
				target_country = c:YLO
				
				war = no
				
				type = dp_annex_war
				
				add_war_goal = {
					holder = c:YLO
					type = annex_country
					target_country = c:KOO
				}
			}
		}
		ai_chance = {
			base = 0
		}
	}
	#Yes
	option = {
		name = dvg_zhourao.9.b
		default_option = yes
		custom_tooltip = {
			text = dvg_guli_will_be_annexed_tt
			c:YLO = {
				trigger_event = { id = dvg_zhourao.11 }
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

# Yaluo and Mianjin reunited!
dvg_zhourao.10 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.10.t
	desc = dvg_zhourao.10.d
	flavor = dvg_zhourao.10.f

	event_image = {
		video = "gfx/event_pictures/unspecific_politicians_arguing.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# Reunification is complete!
	option = {
		name = dvg_zhourao.10.a
		add_journal_entry = {
			type = je_invade_zhusha
		}
		ai_chance = {
			base = 1
		}
	}
}

 # Guli Accepts!
dvg_zhourao.11 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.11.t
	desc = dvg_zhourao.11.d
	flavor = dvg_zhourao.11.f

	event_image = {
		video = "gfx/event_pictures/asia_politician_parliament_motion.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
		annex = c:KOO
	}
	
	# War!
	option = {
		name = dvg_zhourao.11.a
		custom_tooltip = {
			text = dvg_koori_colony_yes_tt
		}
		ai_chance = {
			base = 0
		}
	}
}

 # Yaluo and Mianjin Event war
dvg_zhourao.12 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.12.t
	desc = dvg_zhourao.12.d
	flavor = dvg_zhourao.12.f

	event_image = {
		video = "gfx/event_pictures/asia_politician_parliament_motion.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# War!
	option = {
		name = dvg_zhourao.12.a
		custom_tooltip = {
			text = dvg_guli_this_will_war_with_yaluo_tt
			create_diplomatic_play = {
				name = dvg_second_kongsi_war_name
			
				target_country = c:YLO
				
				war = yes
				
				type = dp_annex_war
				
				add_war_goal = {
					holder = c:YLO
					type = annex_country
					target_country = c:MJN
				}
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

 # Mianjin and Yaluo Event war
dvg_zhourao.13 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.13.t
	desc = dvg_zhourao.13.d
	flavor = dvg_zhourao.13.f

	event_image = {
		video = "gfx/event_pictures/asia_politician_parliament_motion.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# War!
	option = {
		name = dvg_zhourao.12.a
		custom_tooltip = {
			text = dvg_this_will_war_with_mianjin_tt
			create_diplomatic_play = {
				name = dvg_second_kongsi_war_name
			
				target_country = c:MJN
				
				war = yes
				
				type = dp_annex_war
				
				add_war_goal = {
					holder = c:MJN
					type = annex_country
					target_country = c:YLO
				}
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

# Yaluo and Mianjin reunited!
dvg_zhourao.14 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.14.t
	desc = dvg_zhourao.14.d
	flavor = dvg_zhourao.14.f

	event_image = {
		video = "gfx/event_pictures/unspecific_politicians_arguing.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# Reunification is complete!(for real this time)
	option = {
		name = dvg_zhourao.14.a
		add_loyalists = {
			value = 0.25
		}
		ai_chance = {
			base = 1
		}
	}
}

#dvg_zhourao.1001 = {
#	type = country_event
#	placement = ROOT
#
#	title = dvg_zhourao.1.t
#	desc = dvg_zhourao.1.d
#	flavor = dvg_zhourao.1.f
#
#	event_image = {
#		video = "gfx/event_pictures/southamerica_war_civilians.bk2"
#	}
#
#	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
#	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"
#
#	icon = "gfx/interface/icons/event_icons/event_fire.dds"
#
#	duration = 3
#
#	trigger = {
#	}
#	
#	immediate = {
#	}
#	
#	# Yes, they are citizens too
#	option = {
#		name = dvg_zhourao.1.a
#		default_option = yes
#		custom_tooltip = {
#			text = dvg_koori_colony_tt
#			annex = c:KOO
#		}
#		ai_chance = {
#			base = 1
#		}
#	}
#	
#	# No, they are still the Hongshanma
#	option = {
#		name = dvg_zhourao.1.b
#		default_option = no
#		create_diplomatic_play = {
#			target_country = scope:dvg_morocco_scope
#			war = yes
#			type = dp_annex_war
#			
#			add_war_goal = {
#				holder = c:KOO
#				type = conquer_state
#				target_state = s:STATE_AL_RIF.region_state:YLO
#			}
#			add_war_goal = {
#				holder = c:KOO
#				type = conquer_state
#				target_state = s:STATE_MARRAKECH.region_state:YLO
#			}
#				add_war_goal = {
#				holder = c:KOO
#				type = conquer_state
#				target_state = s:STATE_INNER_MOROCCO.region_state:YLO
#			}
#		}
#		ai_chance = {
#			base = 0
#		}
#	}
#}

#Wiradjuri War MIANJIN events are 5XY-600
dvg_zhourao.501 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.501.t
	desc = dvg_zhourao.501.d
	flavor = dvg_zhourao.501.f

	event_image = {
		video = "gfx/event_pictures/unspecific_devastation.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# We must ensure our survival by claiming the desert!
	option = {
		name = dvg_zhourao.501.a
		default_option = yes
		create_diplomatic_play = {
			name = dvg_wiradjuri_war_name
		
			target_country = c:WIR
			
			war = no
			
			type = dp_annex_war
			
			add_war_goal = {
				holder = c:WIR
				type = war_reparations
				target_country = c:MJN
			}
		}
		hidden_effect = {
			set_variable = dvg_wiradjuri_war_variable
		}

		ai_chance = {
			base = 1
		}
	}
}

#Stay Catholic?
dvg_zhourao.502 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.502.t
	desc = dvg_zhourao.502.d
	flavor = dvg_zhourao.502.f

	event_image = {
		video = "gfx/event_pictures/asia_union_leader.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# Catholicism
	option = {
		name = dvg_zhourao.502.a
		default_option = yes
		hidden_effect = {
			set_variable = dvg_catholiced_mjn
		}
		add_radicals = {
			value = 0.25
		}
		ai_chance = {
			base = 1
		}
	}
	# Buddhism
	option = {
		name = dvg_zhourao.502.b
		default_option = yes
		c:ZHR = {
			set_state_religion = rel:mahayana
		}
		hidden_effect = {
			set_variable = dvg_catholiced_mjn
			ig:ig_devout = {
				set_interest_group_name = ig_mahayana_monks
				remove_ideology = ideology_moralist
				add_ideology = ideology_buddhist_moralist
			}
		}
		add_loyalists = {
			value = 0.25
		}
		ai_chance = {
			base = 1
		}
	}
}

#Southern Push ZHUSHA events are 7XY-800
dvg_zhourao.701 = {
	type = country_event
	placement = ROOT

	title = dvg_zhourao.701.t
	desc = dvg_zhourao.701.d
	flavor = dvg_zhourao.701.f

	event_image = {
		video = "gfx/event_pictures/asia_dead_cattle_poor_harvest.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	immediate = {
	}
	
	# We must ensure our survival by claiming the desert!
	option = {
		name = dvg_zhourao.701.a
		default_option = yes
		create_diplomatic_play = {
			name = dvg_southern_push
		
			target_country = c:YAL
			
			war = no
			
			type = dp_annex_war
			
			add_war_goal = {
				holder = c:YAL
				type = war_reparations
				target_country = c:ZSA
			}
		}
		hidden_effect = {
			set_variable = dvg_southern_push_variable
		}

		ai_chance = {
			base = 1
		}
	}
}